﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PROJECT_BOMBER.BLL.Events.Collisions
{
    class GhostCollision : CollisionStrategy
    {
        public override void Collision(ElementMove element, ElementMove element2)
        {

            if(element2.IntersectPX(element))
            {
                ((Character)element).Dead = true;
            }
            
            /*if(element2.Case.Intersects(element.Case))
            {
                ((Character)element).Dead = true;
            }*/

        }

        public override void Collision(ElementPhysique element2, ElementMove element)
        {
        }
    }
}
